#include <QCoreApplication>
#include <iostream>

using namespace std;

void pr_4_10()
{
    cout << "请输入一个整数" << endl;
    int val;
    while (cin >> val) {
        if (val != 42) {
            cout << val;
            cout << "contuin" << endl;
        } else {
            cout << "end" << endl;
        }
    }
}

void pr_4_13()
{
    int i;
    double d;
    i = d = 3.5;
    cout << d << " " << i << endl;
}

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);

    pr_4_13();

    return a.exec();
}
